package com.ruoyi.books.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 非遗制作材料对象 books_materials
 * 
 * @author ruoyi
 * @date 2024-03-28
 */
public class BooksMaterials extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long materialsId;

    /** 所属项目ID */
    @Excel(name = "所属项目ID")
    private Long materialsAscriptionId;

    /** 材料内容 */
    @Excel(name = "材料内容")
    private String materialsText;

    public void setMaterialsId(Long materialsId) 
    {
        this.materialsId = materialsId;
    }

    public Long getMaterialsId() 
    {
        return materialsId;
    }
    public void setMaterialsAscriptionId(Long materialsAscriptionId) 
    {
        this.materialsAscriptionId = materialsAscriptionId;
    }

    public Long getMaterialsAscriptionId() 
    {
        return materialsAscriptionId;
    }
    public void setMaterialsText(String materialsText) 
    {
        this.materialsText = materialsText;
    }

    public String getMaterialsText() 
    {
        return materialsText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialsId", getMaterialsId())
            .append("materialsAscriptionId", getMaterialsAscriptionId())
            .append("materialsText", getMaterialsText())
            .toString();
    }
}
